package com.taxi.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 *
 * @author aniu
 * @since 2023-09-28
 */
@Data
public class DriverCarBindingRelationship {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long driverId;

    private Long carId;

    private String vehicleNo;  // 车牌号

    private Integer bindState;  // 1 绑定 2 解绑

    private LocalDateTime bindingTime;

    private LocalDateTime unBindingTime;
}
